🎯 Need Help?

Get Premium Support

Priority assistance from the developer

More from ANWP

Football Leagues Premium

Complete football/soccer league management for WordPress

Learn more →

Import Export Tool


The Import/Export Tool lets you bulk import players, teams, venues, staff, and officials from spreadsheets. Instead of creating records one by one, paste hundreds of rows and import them in seconds.

🎯 Key Features

  • Bulk import – Players, teams, venues, staff, officials
  • Insert or Update mode – Create new records or update existing ones
  • Spreadsheet-friendly – Copy/paste from Excel, Google Sheets, LibreOffice
  • Customizable columns – Reorder, show/hide columns to match your data
  • Progress tracking – See import status for each row
  • CSV export – Export players to CSV format

🚀 Getting Started

Access the Import Tool from Sports Leagues > Tools > Import in your WordPress admin menu.

Import Tool interface showing the spreadsheet-style table with column headers, data rows, and import controls

📺 Video Tutorial

Watch a quick walkthrough of the import process. This video shows the Football Leagues plugin, but it works the same way in Sports Leagues.

Import Step by Step

Step 1: Select Import Type

Click one of the import type links at the top of the page:

  • players – Import player profiles
  • teams – Import team data
  • venues – Import venues/stadiums
  • staff – Import coaching staff
  • officials – Import referees and officials

Step 2: Choose Import Mode

Toggle between Insert and Update modes:

ModePurposeRequired Column
InsertCreate new recordsName field (Player Name, Team Title, etc.)
UpdateModify existing recordsID or External ID

Tip

Use External ID to store your own identifiers. This makes future updates easier since you can match records by your ID instead of WordPress post IDs.

Step 3: Configure Columns (Optional)

Click Change Import Columns to customize the column layout:

  • Drag columns to reorder them (match your spreadsheet order)
  • Click the eye icon to show/hide columns
  • Click Apply New Settings to save your preferences
Column configuration panel showing draggable columns with visibility toggles for customizing import layout

Your column preferences are saved per import type and will be remembered next time.

Step 4: Paste Your Data

  1. Open your spreadsheet (Excel, Google Sheets, LibreOffice Calc)
  2. Select and copy your data rows (without headers)
  3. Click in the first cell of the import table
  4. Paste with Ctrl+V (Windows) or Cmd+V (Mac)

The table automatically expands when you paste more rows than available. Use the +10, +50, or +100 buttons to add empty rows manually if needed.

Step 5: Import the Data

Click Save Data to start importing. A progress bar shows the import status.

Step 6: Review Results

After import, each row shows its status in the last two columns:

Import results showing success and error statuses with links to view or edit imported records
StatusColorMeaning
successGreenRecord imported successfully. Links to view/edit are provided.
errorRedImport failed. Error message explains why.

After reviewing:

  • Clear Success – Remove successful rows, keep failed ones to fix and retry
  • Clear All – Reset the table completely

Available Columns by Type

Players

ColumnRequired ForNotes
Player NameInsertDisplay name shown on the site
Short NameAbbreviated name for compact displays
Full NameLegal/official full name
PositionDropdown of configured positions
Current TeamDropdown of existing teams
National TeamDropdown of existing teams
Date of BirthFormat: YYYY-MM-DD
Date of DeathFormat: YYYY-MM-DD
Place of BirthText field
Country of BirthDropdown of countries
NationalityDropdown of countries
HeightPlayer height
WeightPlayer weight
BioMulti-line text for biography
Player IDUpdateWordPress post ID
Player External IDUpdate (alt)Your custom identifier
Custom FieldsFormat: cf__fieldname

Teams

ColumnRequired ForNotes
Team TitleInsertTeam name
AbbreviationShort code (e.g., LAL, NYK)
CityHome city
CountryDropdown of countries
AddressTeam address
WebsiteTeam website URL
FoundedYear founded
National Teamyes/no dropdown
Team IDUpdateWordPress post ID
Team External IDUpdate (alt)Your custom identifier

Venues

ColumnRequired ForNotes
Venue TitleInsertVenue name
CityLocation city
AddressFull address
WebsiteVenue website URL
CapacityNumber of seats
OpenedYear opened
DescriptionMulti-line text
Venue IDUpdateWordPress post ID
Venue External IDUpdate (alt)Your custom identifier

Staff

ColumnRequired ForNotes
Staff NameInsertFull name
Short NameAbbreviated name
Job TitleCoach, Manager, etc.
Current TeamDropdown of existing teams
Place of BirthText field
Date of BirthFormat: YYYY-MM-DD
NationalityDropdown of countries
BioMulti-line text
Staff IDUpdateWordPress post ID
Staff External IDUpdate (alt)Your custom identifier

Officials

ColumnRequired ForNotes
Official NameInsertFull name
Short NameAbbreviated name
Place of BirthText field
Date of BirthFormat: YYYY-MM-DD
NationalityDropdown of countries
BioMulti-line text
Official IDUpdateWordPress post ID
Official External IDUpdate (alt)Your custom identifier

Export Tool

Access the Export Tool from Sports Leagues > Tools > Export.

Currently, you can export players to CSV format. Click Export Players to download a CSV file.

Export Tool page showing the Export Players button for downloading player data as CSV

Opening Exported CSV Files

Open the exported CSV file with your preferred spreadsheet application:

  • Microsoft Excel – Open directly or use Data > From Text/CSV
  • Google Sheets – File > Import > Upload
  • LibreOffice Calc – Open directly, select UTF-8 encoding
LibreOffice Calc import dialog showing character set selection with UTF-8 encoding highlighted

Tip

When opening CSV files in LibreOffice, select UTF-8 encoding to preserve special characters in player names correctly.

Keyboard Shortcuts

KeyAction
Tab / Shift+TabNavigate between cells
Arrow keysMove around the grid
EnterStart editing current cell
Type any characterStart editing with that character
EscCancel editing
Ctrl+V / Cmd+VPaste data from clipboard

💡 Tips for Success

Data Preparation

  • Match column order – Reorder columns in the import tool to match your spreadsheet, or rearrange your spreadsheet to match the tool
  • No headers when pasting – Select only data rows, not the header row
  • Use External IDs – Assign your own identifiers for easier updates later
  • Date format – Always use YYYY-MM-DD (ISO format)
  • Dropdown values – Invalid values are highlighted in orange – check valid options

Recommended Import Order

When setting up from scratch, import in this order:

  1. Venues (if you want to assign home venues to teams)
  2. Teams
  3. Players (can then assign to teams)
  4. Staff (coaches, managers)
  5. Officials (referees)

This order ensures that dropdown selections (like Current Team for players) have available options.

🆘 Common Errors

ErrorCauseSolution
“Name is required”Missing entity name in Insert modeAdd name to the required column (Player Name, Team Title, etc.)
“ID or External ID required”Update mode needs an identifierAdd ID or External ID column, or switch to Insert mode
Orange highlighted cellValue not in dropdown listCheck the dropdown for valid options
“Required Column is missing!”Essential column is hiddenClick “Change Import Columns” and enable the required column

📚 Related Documentation